function init(){
	var degree_2010 = $("#degree_2010")[0];
	var degree_2009 = $("#degree_2009")[0];
	var degree_2008 = $("#degree_2008")[0];
	 
	degree_2010.style.display = "none";
	degree_2009.style.display = "none";
	degree_2008.style.display = "none";
	
	changeDegree();
} 

function changeDegree(){
	var degree_select = $("#degree_select")[0];
	
	degree_select.onchange = function(){
		var degree_2011 = $("#degree_2011")[0];
		var degree_2010 = $("#degree_2010")[0];
		var degree_2009 = $("#degree_2009")[0];
		var degree_2008 = $("#degree_2008")[0];
		 
		degree_2011.style.display = "none";
		degree_2010.style.display = "none";
		degree_2009.style.display = "none";
		degree_2008.style.display = "none";
		
		if(this.value == "2011"){
			degree_2011.style.display = "block";
		}else if(this.value == "2010"){
			degree_2010.style.display = "block";
		}else if(this.value == "2009"){
			degree_2009.style.display = "block";
		}else if(this.value == "2008"){
			degree_2008.style.display = "block";
		}
		
	};
	
}


$(window).load(function() {
	init();
}); 